#ifndef __ST_PIO__
#define __ST_PIO__

#include <stdio.h>

int st_pio_init();
void st_pio_fini();
ssize_t st_libaio_pread(int fd, void* buf, size_t count, off_t offset);
ssize_t st_libaio_pwrite(int fd, const void *buf, size_t count, off_t offset);
ssize_t st_libaio_preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset);
ssize_t st_libaio_pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset);
int st_libaio_fsync(int fd);
int st_libaio_fdsync(int fd);

#endif
